package domain

type TmallFuwuHomedecorationWorkerlevelListResult struct {
	/*
	   当前页码     */
	PageIndex *int64 `json:"page_index,omitempty" `

	/*
	   每页大小     */
	PageSize *int64 `json:"page_size,omitempty" `

	/*
	   总页数     */
	TotalCount *int64 `json:"total_count,omitempty" `

	/*
	   错误码     */
	ErrorCode *string `json:"error_code,omitempty" `

	/*
	   错误信息     */
	ErrorMsg *string `json:"error_msg,omitempty" `

	/*
	   是否成功     */
	Success *bool `json:"success,omitempty" `

	/*
	   工人分层数据     */
	DataList *[]TmallFuwuHomedecorationWorkerlevelListSupplyLevelWorkerDTO `json:"data_list,omitempty" `
}

func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetPageIndex(v int64) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.PageIndex = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetPageSize(v int64) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.PageSize = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetTotalCount(v int64) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.TotalCount = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetErrorCode(v string) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.ErrorCode = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetErrorMsg(v string) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.ErrorMsg = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetSuccess(v bool) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.Success = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListResult) SetDataList(v []TmallFuwuHomedecorationWorkerlevelListSupplyLevelWorkerDTO) *TmallFuwuHomedecorationWorkerlevelListResult {
	s.DataList = &v
	return s
}
